//
//  SISSNetworkingManager+Comment.h
//  SISSAPP
//
//  Created by 优房网 on 2017/5/25.
//  Copyright © 2017年 优房网. All rights reserved.
//

#import "SISSNetworkingManager.h"
#import "SISSCommentScoreModel.h"
#import "SISSCommentBaseModel.h"

@interface SISSNetworkingManager (Comment)


/**
 6.11.1 获取经纪人收到的评价信息 GET请求

 @param commentType 1:带看评价  2:服务评价
 @param spId spId
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestAgentReceivedCommentInfoWithCommentType:(NSInteger)commentType spId:(NSString *)spId success:(void(^)(SISSCommentScoreModel *commentScoreModel))successBlock failed:(void(^)(NSError *error))failedBlock;


/**
 6.11.2 获取经纪人收到的带看评价 GET请求
 
 @param pageNo 页数
 @param spId spId
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestAgentReceivedTakeLookCommentInfoWithPageNo:(NSInteger)pageNo spId:(NSString *)spId success:(void(^)(SISSCommentBaseModel *commentBaseModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 6.11.3 获取经纪人收到的服务评价信息 GET请求
 
 @param pageNo 页数
 @param spId spId
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestAgentReceivedServiceCommentInfoWithPageNo:(NSInteger)pageNo spId:(NSString *)spId success:(void(^)(SISSCommentBaseModel *commentBaseModel))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 6.12.4 获取经纪人发出的评价信息 GET请求
 
 @param commentType 1:带看评价  2:服务评价
 @param pageNo 页数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestAgentSendCommentInfoWithCommentType:(NSInteger)commentType pageNo:(NSInteger)pageNo success:(void(^)(SISSCommentBaseModel *commentBaseModel))successBlock failed:(void(^)(NSError *error))failedBlock;


@end
